package org.saratogaschools.edd.firefighter.shared;

import java.util.List;

import org.saratogaschools.edd.firefighter.shared.model.Department;
import org.saratogaschools.edd.firefighter.shared.model.Fire;
import org.saratogaschools.edd.firefighter.shared.model.FireFighter;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
@RemoteServiceRelativePath("firefighterservice")
public interface FireFighterService extends RemoteService {
	
	FireFighter getFireFighter();

	List<Department> getDepartmentList();

	FireFighter registerFireFighter(FireFighter registrationCandidate);

	Department addDepartment(Department department);
	
	List<Fire> getFiresFromDepartment(String departmentKey);

	void addNewFire(Fire newFire);

	Department getDepartmentFromKey(String departmentKey);

	void updateFire(Fire fire);

}
